﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title>JS.PlayerFramework</title>

    <!-- WinJS references -->
    <link href="//Microsoft.WinJS.1.0/css/ui-dark.css" rel="stylesheet" />
    <script src="//Microsoft.WinJS.1.0/js/base.js"></script>
    <script src="//Microsoft.WinJS.1.0/js/ui.js"></script>

    <!-- JS.PlayerFramework references -->
    <link href="/css/default.css" rel="stylesheet" />
    <script src="/js/default.js"></script>

    <!-- PlayerFramework references -->
    <link href="/Microsoft.PlayerFramework.Js/css/Default-base.css" rel="stylesheet">
    <link href="/Microsoft.PlayerFramework.Js/css/Default-dark.css" rel="stylesheet">
    <script src="/Microsoft.PlayerFramework.Js/js/PlayerFramework.js"></script>
    <script src="/Microsoft.PlayerFramework.Js/js/InteractiveViewModel.js"></script>
    <script src="/Microsoft.PlayerFramework.Js/js/MediaPlayer.js"></script>
    <script src="/Microsoft.PlayerFramework.Js/js/DynamicTextTrack.js"></script>
    <script src="/Microsoft.PlayerFramework.Js/js/ui/Button.js"></script>
    <script src="/Microsoft.PlayerFramework.Js/js/ui/ControlPanel.js"></script>
    <script src="/Microsoft.PlayerFramework.Js/js/ui/Indicator.js"></script>
    <script src="/Microsoft.PlayerFramework.Js/js/ui/Meter.js"></script>
    <script src="/Microsoft.PlayerFramework.Js/js/ui/Slider.js"></script>
    <script src="/Microsoft.PlayerFramework.Js/js/plugins/PluginBase.js"></script>
    <script src="/Microsoft.PlayerFramework.Js/js/plugins/TrackingPluginBase.js"></script>
    <script src="/Microsoft.PlayerFramework.Js/js/plugins/BufferingPlugin.js"></script>
    <script src="/Microsoft.PlayerFramework.Js/js/plugins/ControlPlugin.js"></script>
    <script src="/Microsoft.PlayerFramework.Js/js/plugins/ErrorPlugin.js"></script>
    <script src="/Microsoft.PlayerFramework.Js/js/plugins/LoaderPlugin.js"></script>
    <script src="/Microsoft.PlayerFramework.Js/js/plugins/PlaylistPlugin.js"></script>
    <script src="/Microsoft.PlayerFramework.Js/js/plugins/PlayTimeTrackingPlugin.js"></script>
    <script src="/Microsoft.PlayerFramework.Js/js/plugins/PositionTrackingPlugin.js"></script>
    <script src="/Microsoft.PlayerFramework.Js/js/plugins/MediaControlPlugin.js"></script>
    <script src="/Microsoft.PlayerFramework.Js/js/plugins/DisplayRequestPlugin.js"></script>

    <!-- PlayerFramework.Adaptive references -->
    <script src="/Microsoft.PlayerFramework.Js.Adaptive/js/AdaptivePlugin.js"></script>

    <!-- PlayerFramework.Advertising references -->
    <link href="/Microsoft.PlayerFramework.Js.Advertising/css/Advertising.css" rel="stylesheet">
    <script src="/Microsoft.PlayerFramework.Js.Advertising/js/AdHandlerPlugin.js"></script>
    <script src="/Microsoft.PlayerFramework.Js.Advertising/js/AdPayloadHandlerPluginBase.js"></script>
    <script src="/Microsoft.PlayerFramework.Js.Advertising/js/AdPlayerFactoryPluginBase.js"></script>
    <script src="/Microsoft.PlayerFramework.Js.Advertising/js/AdPlayerFactoryPlugin.js"></script>
    <script src="/Microsoft.PlayerFramework.Js.Advertising/js/AdSchedulerPlugin.js"></script>
    <script src="/Microsoft.PlayerFramework.Js.Advertising/js/Advertisement.js"></script>
    <script src="/Microsoft.PlayerFramework.Js.Advertising/js/FreeWheelPlugin.js"></script>
    <script src="/Microsoft.PlayerFramework.Js.Advertising/js/MastSchedulerPlugin.js"></script>
    <script src="/Microsoft.PlayerFramework.Js.Advertising/js/MediaPlayerAdapter.js"></script>
    <script src="/Microsoft.PlayerFramework.Js.Advertising/js/VmapSchedulerPlugin.js"></script>
    <script src="/Microsoft.PlayerFramework.Js.Advertising/js/VpaidAdPlayerBase.js"></script>
    <script src="/Microsoft.PlayerFramework.Js.Advertising/js/VpaidNonLinearAdPlayers.js"></script>
    <script src="/Microsoft.PlayerFramework.Js.Advertising/js/VpaidVideoAdPlayer.js"></script>
    <script src="/Microsoft.PlayerFramework.Js.Advertising/js/VpaidAdapter.js"></script>
    <script src="/Microsoft.PlayerFramework.Js.Advertising/js/VpaidLinearAdViewModel.js"></script>
    <script src="/Microsoft.PlayerFramework.Js.Advertising/js/VpaidNonLinearAdViewModel.js"></script>

       
    <!-- PlayerFramework.Analytics references -->
    <script src="/Microsoft.PlayerFramework.Js.Analytics/js/ErrorLogger.js"></script>
    <script src="/Microsoft.PlayerFramework.Js.Analytics/js/MediaPlayerAdapter.js"></script>
    <script src="/Microsoft.PlayerFramework.Js.Analytics/js/AdaptiveAnalyticsPlugin.js"></script>
    <script src="/Microsoft.PlayerFramework.Js.Analytics/js/AnalyticsPlugin.js"></script>

    <style>
        #divMain {
            width: 100%;
            height: 100%;
            display: -ms-flexbox;
            -ms-flex-align: center;
            -ms-flex-direction: column;
            -ms-flex-pack: center;
        }
    </style>
</head>
<body>
    <div id="divMain" data-win-control="PlayerFramework.MediaPlayer" data-win-options="{
        autoplay: true,
        src: 'http://ecn.channel9.msdn.com/o9/content/smf/smoothcontent/elephantsdream/Elephants_Dream_1024-h264-st-aac.ism/manifest',
        vmapSchedulerPlugin: {
            source: 'http://smf.blob.core.windows.net/samples/win8/ads/vmap.xml'
        }
    }"></div>
</body>
</html>
